package com.wlps.mapper;

import com.wlps.entity.OrderRecord;
import com.wlps.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wlps.vo.OperatorDetailInfoVo;
import com.wlps.vo.SenderRoleUserVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 员工表(sys_user) Mapper 接口
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-30
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**查询用户列表（包括用户的角色）
     * @return
     */
    List<SysUser> selectUsers();

    public List<OperatorDetailInfoVo> operatorDetailinfoById(long id);

    public List<String> queryCommodityByOrderId(long id);

    public List<OperatorDetailInfoVo> operatorDetailAll();
    public List<SenderRoleUserVo> getSenderRoleVo();
}
